<!--Get the samples from https://www.adobe.com/go/pdfembedapi_samples-->

<!DOCTYPE html>

<html>

<head>

 <title>Adobe Document Services PDF Embed API Sample</title>

 <meta charset="utf-8"/>

 <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>

 <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1"/>

</head>

<body style="margin: 0px">

 <div id="adobe-dc-view"></div>

 <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script>

 <script type="text/javascript">

    document.addEventListener("adobe_dc_view_sdk.ready", function()

    {

        var adobeDCView = new AdobeDC.View({clientId: "123456", divId: "adobe-dc-view"});

        adobeDCView.previewFile(

       {

          content:   {location: {url: "https://127.0.0.1:5500/test.pdf"}},

          metaData: {fileName: "test.pdf"}

       });

    });

 </script>

</body>

</html>